project(WoE)
cmake_minimum_required(VERSION 2.6)
find_package(Qt4 REQUIRED)

include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR} /usr/local/include /usr/local/include/OGRE /usr/local/include/OIS ../editor/)

set(WoE_SRCS MoveManager.cpp MainApplication.cpp BaseApplication.cpp CameraManager.cpp MoveManager.cpp ../editor/OgreLoader/IndexedMesh.cpp ../editor/FileIO/FileIO.cpp)
qt4_automoc(${WoE_SRCS})
link_directories(/usr/local/lib ../../editor/build/Model)
add_executable(WoE ${WoE_SRCS})
target_link_libraries(WoE ${QT_QTCORE_LIBRARY} Model OgreMain OIS boost_serialization)

